<div>
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox">
                <div class="ibox-title">
                    <h5>确定入库</h5>
                    <div class="ibox-tools" style="top:10px;">
                        <button type="button" class="btn btn-primary btn-sm" v-on:click="_goBack()">
                            <i class="fa fa-close"></i>返回
                        </button>
                    </div>
                </div>
                <div class="ibox-content">
                    <div>
                        <div>
                            <div class="row">
                                <div class="col-sm-3">
                                    <div class="form-group">
                                        <label class="col-form-label">工单编码：</label>
                                        <label class="">{{doAllocationOrderInfo.orderId}}</label>
                                    </div>
                                </div>
                                <div class="col-sm-3">
                                    <div class="form-group">
                                        <label class="col-form-label">申请人:</label>
                                        <label class="">{{doAllocationOrderInfo.staffName}}</label>
                                    </div>
                                </div>
                                <div class="col-sm-3">
                                    <div class="form-group">
                                        <label class="col-form-label">申请时间:</label>
                                        <label class="">{{doAllocationOrderInfo.createTime}}</label>
                                    </div>
                                </div>
                                <div class="col-sm-3">
                                    <div class="form-group">
                                        <label class="col-form-label">订单状态:</label>
                                        <label class="">{{doAllocationOrderInfo.stateName}}</label>
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-sm-3">
                                    <div class="form-group">
                                        <label class="col-form-label">源商铺：</label>
                                        <label class="">{{doAllocationOrderInfo.shopName}}</label>
                                    </div>
                                </div>
                                <div class="col-sm-3">
                                    <div class="form-group">
                                        <label class="col-form-label">源仓库:</label>
                                        <label class="">{{doAllocationOrderInfo.srcShName}}</label>
                                    </div>
                                </div>
                                <div class="col-sm-3">
                                    <div class="form-group">
                                        <label class="col-form-label">目标商铺:</label>
                                        <label class="">{{doAllocationOrderInfo.targetShopName}}</label>
                                    </div>
                                </div>
                                <div class="col-sm-3">
                                    <div class="form-group">
                                        <label class="col-form-label">目标仓库:</label>
                                        <label class="">{{doAllocationOrderInfo.targetShName}}</label>
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-sm-12">
                                    <div class="form-group">
                                        <label class="col-form-label">审核备注:</label>
                                        <label class="">{{doAllocationOrderInfo.stateRemark}}</label>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox">
                <div class="ibox-title">
                    <h5>商品信息</h5>
                    <div class="ibox-tools" style="top:10px;">
                    </div>
                </div>
                <div class="ibox-content">
                    <table class="table table-stripped">
                        <thead>
                        <tr>
                            <th scope="col" class="text-center">序号</th>
                            <th class="text-center">商品编号</th>
                            <th class="text-center">商品名称</th>
                            <th class="text-center">规格</th>
                            <th class="text-center">申请单数量</th>
                            <th class="text-center">实际数量</th>
                            <th class="text-center">金额</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr v-for="(inoutOrderProduct,index) in doAllocationOrderInfo.inoutOrderProducts">
                            <th scope="row" width="10%" class="text-center">{{index+1}}</th>
                            <td class="text-center">{{inoutOrderProduct.productId}}</td>
                            <td class="text-center">{{inoutOrderProduct.prodName}}</td>
                            <td class="text-center">{{inoutOrderProduct.specName}}</td>
                            <td class="text-center">{{doAllocationOrderInfo.productCount}}</td>
                            <td class="text-center">
                                <input class="form-control" v-model="doAllocationOrderInfo.actCount" type="number"/></td>
                            <td class="text-center">{{inoutOrderProduct.price}}</td>
                        </tr>
                        </tbody>
                    </table>
                    <div class="ibox-content">
                        <button class="btn btn-primary float-right" type="button" v-on:click="doInoutOrder()">
                            <i class="fa fa-check"></i>&nbsp;确定入库
                        </button>
                        <button type="button" class="btn btn-warning float-right" style="margin-right:20px;"
                                v-on:click="_doCancelOrder()">
                            <i class="fa fa-close"></i>&nbsp;取消入库单
                        </button>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>